package indi.zhifa.study2024.nbr.logic.report.consign.mapper;

import indi.zhifa.core.dataauth.entity.MpDataAuth;
import indi.zhifa.core.dataauth.entity.MybatisDataAuth;
import indi.zhifa.study2024.nbr.logic.report.consign.entity.mapperIn.ConsignMapperIn;
import indi.zhifa.study2024.nbr.logic.report.consign.entity.mapperOut.ConsignMapperOut;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@MpDataAuth(funDetermined = true)
public interface ConsignMapper {
    @MybatisDataAuth(substitutionVar = "auth",authExpression = "ch.enp_id = ${auth.enpId}")
    List<ConsignMapperOut> consignReport(@Param(value = "In") ConsignMapperIn pConsignMapperIn);

}
